package com.itheima.service.impl;

import com.itheima.dao.impl.StudentDaoImpl;
import com.itheima.domain.Student;
import com.itheima.service.StudentService;

import java.util.List;

public class StudentServiceImpl implements StudentService {
   private StudentDaoImpl studentDao = new StudentDaoImpl();

    @Override
    public List<Student> findAll() throws Exception {
        return studentDao.findAll();
    }
}
